from enum import Enum


class BaseResponseCode(Enum):
    SUCCESS = 0

    # system error
    INVALID_PARAMETER = 10001
    DATA_NOT_FOUND = 10002

    # docker client
    DOCKER_FAILED = 20001
    DOCKER_PUSH_FAILED = 20002

    # harbor api client
    HARBOR_API_CREATE_PROJECT_FAILED = 30001
